# admin admin
# 添加Higress的官方helm仓库
export namespace="higress-system"
export app_name="higress"
export repo="higress.cn"
export helm="$repo/$app_name"
export url="https://higress.cn/helm-charts"

export domain="higress.youling.io"
export ingressClassName="higress"
export password="youling"

helm repo remove $repo
helm repo add $repo $url
helm repo update $repo

helm search repo higress --devel
helm upgrade --create-namespace --install -n $namespace $app_name $helm \
    --render-subchart-notes \
    --set global.enableGatewayAPI=true \
    --devel

# --set higress-console.ingress.enabled=true \
# --set higress-console.domain=${domain} \
# --set higress-console.ingress.ingressClassName=${ingressClassName} \
# --set higress-console.admin.password=${password}
